/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 票证管理 实体类
 *
 * @author BladeX
 * @since 2023-07-18
 */
@Data
@TableName("oa_viewer")
@ApiModel(value = "Viewer对象", description = "票证管理")
@EqualsAndHashCode(callSuper = true)
public class ViewerEntity extends TenantEntity implements Serializable {

	/**
	 * 展会ID
	 */
	@ApiModelProperty(value = "展会ID【原字段:exhibitionId】")
	private Long exhibitionId;
	/**
	 * 分类ID
	 */
	@ApiModelProperty(value = "分类ID【原字段:ticketTypeId】")
	private Long viewerTypeId;
	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名【原字段:name】")
	private String name;
	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号【原字段:mobile】")
	private String mobile;
	/**
	 * 身份证
	 */
	@ApiModelProperty(value = "身份证【原字段:idNumber】")
	private String idCard;
	/**
	 * swipeCard
	 */
	@ApiModelProperty(value = "swipeCard【原字段:rfid】")
	private String swipeCard;
	/**
	 * 二维码
	 */
	@ApiModelProperty(value = "二维码【原字段:cardNo】")
	private String twoCode;
	/**
	 * 头像地址
	 */
	@ApiModelProperty(value = "头像地址【原字段:photoUrl】")
	private String headUrl;
	/**
	 * 身份证类型（字典）
	 */
	@ApiModelProperty(value = "身份证类型（字典）【原字段:numberType】")
	private String cardType;
	/**
	 * 公司
	 */
	@ApiModelProperty(value = "公司【原字段:company】")
	private String company;
	/**
	 * 用户状态0正常1禁用
	 */
	@ApiModelProperty(value = "用户状态0正常1禁用【原字段:ticketStatus】")
	private Integer viewerStatus;
	/**
	 * 数据来源（字典维护）
	 */
	@ApiModelProperty(value = "数据来源（字典维护）【原字段:company】")
	private String sourceFrom;
	/**
	 * 人脸注册0完成1未完成
	 */
	@ApiModelProperty(value = "人脸注册0完成1未完成【原字段:registFace】")
	private Integer faceRegister;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 国家
	 */
	@ApiModelProperty(value = "国家【原字段:country】")
	private String country;
	/**
	 * 省份
	 */
	@ApiModelProperty(value = "省份【原字段:province】")
	private String province;
	/**
	 * 登记渠道
	 */
	@ApiModelProperty(value = "登记渠道【原字段:registerChannel】")
	private Integer registerChannel;

	/**
	 * 票证入场时间
	 */
	@ApiModelProperty(value = "票证入场时间 【原字段:ticketTimeList】")
	@TableField(exist = false)
	private List<TimeStageEntity> timeStageList;
	/**
	 * 票证入场时间
	 */
	@ApiModelProperty(value = "是否验证三要素 0是 1否 【原字段:isVerify】")
	@TableField(exist = false)
	private int isVerify;

	/**
	 * 第三方唯一标识
	 */
	@ApiModelProperty(value = "第三方唯一标识")
	private String thirdPartyUnique;
	/**
	 * 认证结果0已认证1未认证
	 */
	@ApiModelProperty(value = "认证结果0已认证1未认证")
	private Integer  authResulet;

	/**
	 * 是否注册人脸
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "是否注册人脸0注册 1不注册")
	private Integer viewerSortFaceStatus;

	/**
	 * 是否注册人脸
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "是否注册人脸0注册 1不注册")
	private Integer faceStatus;
}
